//add fcounty for Oklahoma
// fips codes accessed here: https://www.nrcs.usda.gov/wps/portal/nrcs/detail/national/home/?cid=nrcs143_013697
gen fcounty=.
replace fcounty=1 if county=="ADAIR" & state=="Oklahoma"
replace fcounty=3 if county=="ALFALFA" & state=="Oklahoma"
replace fcounty=5 if county=="ATOKA" & state=="Oklahoma"
replace fcounty=7 if county=="BEAVER" & state=="Oklahoma"
replace fcounty=9 if county=="BECKHAM" & state=="Oklahoma"
replace fcounty=11 if county=="BLAINE" & state=="Oklahoma"
replace fcounty=13 if county=="BRYAN" & state=="Oklahoma"
replace fcounty=15 if county=="CADDO" & state=="Oklahoma"
replace fcounty=17 if county=="CANADIAN" & state=="Oklahoma"
replace fcounty=19 if county=="CARTER" & state=="Oklahoma"
replace fcounty=21 if county=="CHEROKEE" & state=="Oklahoma"
replace fcounty=23 if county=="CHOCTAW" & state=="Oklahoma"
replace fcounty=25 if county=="CIMARRON" & state=="Oklahoma"
replace fcounty=27 if county=="CLEVELAND" & state=="Oklahoma"
replace fcounty=29 if county=="COAL" & state=="Oklahoma"
replace fcounty=31 if county=="COMANCHE" & state=="Oklahoma"
replace fcounty=33 if county=="COTTON" & state=="Oklahoma"
replace fcounty=35 if county=="CRAIG" & state=="Oklahoma"
replace fcounty=37 if county=="CREEK" & state=="Oklahoma"
replace fcounty=39 if county=="CUSTER" & state=="Oklahoma"
replace fcounty=41 if county=="DELAWARE" & state=="Oklahoma"
replace fcounty=43 if county=="DEWEY" & state=="Oklahoma"
replace fcounty=45 if county=="ELLIS" & state=="Oklahoma"
replace fcounty=47 if county=="GARFIELD" & state=="Oklahoma"
replace fcounty=49 if county=="GARVIN" & state=="Oklahoma"
replace fcounty=51 if county=="GRADY" & state=="Oklahoma"
replace fcounty=53 if county=="GRANT" & state=="Oklahoma"
replace fcounty=55 if county=="GREER" & state=="Oklahoma"
replace fcounty=57 if county=="HARMON" & state=="Oklahoma"
replace fcounty=59 if county=="HARPER" & state=="Oklahoma"
replace fcounty=61 if county=="HASKELL" & state=="Oklahoma"
replace fcounty=63 if county=="HUGHES" & state=="Oklahoma"
replace fcounty=65 if county=="JACKSON" & state=="Oklahoma"
replace fcounty=67 if county=="JEFFERSON" & state=="Oklahoma"
replace fcounty=69 if county=="JOHNSTON" & state=="Oklahoma"
replace fcounty=71 if county=="KAY" & state=="Oklahoma"
replace fcounty=73 if county=="KINGFISHER" & state=="Oklahoma"
replace fcounty=75 if county=="KIOWA" & state=="Oklahoma"
replace fcounty=77 if county=="LATIMER" & state=="Oklahoma"
replace fcounty=79 if county=="LEFLORE" & state=="Oklahoma"
replace fcounty=81 if county=="LINCOLN" & state=="Oklahoma"
replace fcounty=83 if county=="LOGAN" & state=="Oklahoma"
replace fcounty=85 if county=="LOVE" & state=="Oklahoma"
replace fcounty=87 if county=="MCCLAIN" & state=="Oklahoma"
replace fcounty=89 if county=="MCCURTAIN" & state=="Oklahoma"
replace fcounty=91 if county=="MCINTOSH" & state=="Oklahoma"
replace fcounty=93 if county=="MAJOR" & state=="Oklahoma"
replace fcounty=95 if county=="MARSHALL" & state=="Oklahoma"
replace fcounty=97 if county=="MAYES" & state=="Oklahoma"
replace fcounty=99 if county=="MURRAY" & state=="Oklahoma"
replace fcounty=101 if county=="MUSKOGEE" & state=="Oklahoma"
replace fcounty=103 if county=="NOBLE" & state=="Oklahoma"
replace fcounty=105 if county=="NOWATA" & state=="Oklahoma"
replace fcounty=107 if county=="OKFUSKEE" & state=="Oklahoma"
replace fcounty=109 if county=="OKLAHOMA" & state=="Oklahoma"
replace fcounty=111 if county=="OKMULGEE" & state=="Oklahoma"
replace fcounty=113 if county=="OSAGE" & state=="Oklahoma"
replace fcounty=115 if county=="OTTAWA" & state=="Oklahoma"
replace fcounty=117 if county=="PAWNEE" & state=="Oklahoma"
replace fcounty=119 if county=="PAYNE" & state=="Oklahoma"
replace fcounty=121 if county=="PITTSBURG" & state=="Oklahoma"
replace fcounty=123 if county=="PONTOTOC" & state=="Oklahoma"
replace fcounty=125 if county=="POTTAWATOMIE" & state=="Oklahoma"
replace fcounty=127 if county=="PUSHMATAHA" & state=="Oklahoma"
replace fcounty=129 if county=="ROGER MILLS" & state=="Oklahoma"
replace fcounty=131 if county=="ROGERS" & state=="Oklahoma"
replace fcounty=133 if county=="SEMINOLE" & state=="Oklahoma"
replace fcounty=135 if county=="SEQUOYAH" & state=="Oklahoma"
replace fcounty=137 if county=="STEPHENS" & state=="Oklahoma"
replace fcounty=139 if county=="TEXAS" & state=="Oklahoma"
replace fcounty=141 if county=="TILLMAN" & state=="Oklahoma"
replace fcounty=143 if county=="TULSA" & state=="Oklahoma"
replace fcounty=145 if county=="WAGONER" & state=="Oklahoma"
replace fcounty=147 if county=="WASHINGTON" & state=="Oklahoma"
replace fcounty=149 if county=="WASHITA" & state=="Oklahoma"
replace fcounty=151 if county=="WOODS" & state=="Oklahoma"
replace fcounty=153 if county=="WOODWARD" & state=="Oklahoma"


